FROM azul/zulu-openjdk-debian:17-jre
ADD cat-service-1.0.0.jar /cat-service/
WORKDIR /cat-service
CMD ["java", "-Dspring.datasource.url=jdbc:mysql://mysql:3306/cat_catentity?serverTimezone=GMT%2B8", "-Dspring.cloud.nacos.discovery.server-addr=http://nacos:8848", "-jar", "cat-service-1.0.0.jar"]